package com.ziyun.pop.common.e.logistics;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * 物流发货类型枚举类
 * @author 桂朝
 * @date 2018/09/07 15:19
 */
public enum LogisticsSendTypeEnum implements BaseEnum {
    INVOICE(1, "发票"),
    SAMPLE(2, "样品"),
    ORDER(3, "订单"),
    ;

    private int id;
    private String describe;

    LogisticsSendTypeEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
